#include "task_system.h"
//rtos
#include "FreeRTOS.h"
#include "task.h"
//bsp
// #include "bsp_wdg.h"
#include "bsp_led_ctrl.h"
//lib
#include "debug.h"

/**
 * @brief 喂狗任务
 * 
 */
void Task_System_Watch_Dog_Feed(void)
{
    uint8_t  time_cnt = 0;
    // Bsp_WDG_Feed();                         // 喂狗
    Bsp_Led_System_Set(led_blue, slow_flash);
    Bsp_Led_System_Set(led_gree, double_flash);
    while(1)
    {
        if (time_cnt++ > 100)
        {
            time_cnt = 0;
            // Bsp_WDG_Feed();                 // 喂狗
            // _DEBUG_PRINT(DBG_STP, "Feed_Dog\r\n");
            // __DEBUG_RTOS_FREESIZE();
        }
        Bsp_Led_System_Fsm(10);
        vTaskDelay(10);
    }
}
